<?php /* Smarty version 2.6.26, created on 2014-10-24 20:20:18
         compiled from index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'mb_substr', 'index.html', 34, false),array('modifier', 'date_format', 'index.html', 38, false),array('modifier', 'truncate', 'index.html', 62, false),)), $this); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>个人博客</title>
<meta name="keywords" content="个人博客" />
<meta name="description" content="个人博客" />
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/base.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/index.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/media.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">   
<!--[if lt IE 9]>
<script src="<?php echo @__VIEW__; ?>
IndexStyle/js/modernizr.js"></script>
<![endif]-->
</head>
<body>
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <article>
    <div class="banner">
      <ul class="texts">
        <p>The best life is use of willing attitude, a happy-go-lucky life. </p>
        <p>最好的生活是用心甘情愿的态度，过随遇而安的生活。</p>
      </ul>
    </div>
    <div class="bloglist">
      <h2>
        <p><span>推荐</span>文章</p>
      </h2>
      <?php unset($this->_sections['cont']);
$this->_sections['cont']['loop'] = is_array($_loop=$this->_tpl_vars['Content']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cont']['name'] = 'cont';
$this->_sections['cont']['show'] = true;
$this->_sections['cont']['max'] = $this->_sections['cont']['loop'];
$this->_sections['cont']['step'] = 1;
$this->_sections['cont']['start'] = $this->_sections['cont']['step'] > 0 ? 0 : $this->_sections['cont']['loop']-1;
if ($this->_sections['cont']['show']) {
    $this->_sections['cont']['total'] = $this->_sections['cont']['loop'];
    if ($this->_sections['cont']['total'] == 0)
        $this->_sections['cont']['show'] = false;
} else
    $this->_sections['cont']['total'] = 0;
if ($this->_sections['cont']['show']):

            for ($this->_sections['cont']['index'] = $this->_sections['cont']['start'], $this->_sections['cont']['iteration'] = 1;
                 $this->_sections['cont']['iteration'] <= $this->_sections['cont']['total'];
                 $this->_sections['cont']['index'] += $this->_sections['cont']['step'], $this->_sections['cont']['iteration']++):
$this->_sections['cont']['rownum'] = $this->_sections['cont']['iteration'];
$this->_sections['cont']['index_prev'] = $this->_sections['cont']['index'] - $this->_sections['cont']['step'];
$this->_sections['cont']['index_next'] = $this->_sections['cont']['index'] + $this->_sections['cont']['step'];
$this->_sections['cont']['first']      = ($this->_sections['cont']['iteration'] == 1);
$this->_sections['cont']['last']       = ($this->_sections['cont']['iteration'] == $this->_sections['cont']['total']);
?>
      <div class="blogs">
        <h3><a href="index.php?m=Index&c=index&a=view&cid=<?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['cid']; ?>
&bid=<?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['bid']; ?>
"><?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['title']; ?>
</a></h3>
        <figure><img src="<?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['thumb']; ?>
" ></figure>
        <ul>
          <p><?php echo ((is_array($_tmp=$this->_tpl_vars['Content'][$this->_sections['cont']['index']]['content'])) ? $this->_run_mod_handler('mb_substr', true, $_tmp, 0, 126, 'utf-8') : mb_substr($_tmp, 0, 126, 'utf-8')); ?>
...</p>
          <a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['bid']; ?>
" target="_blank" class="readmore">阅读全文&gt;&gt;</a>
        </ul>
        <p class="autor"><span>作者：艾力</span><span>分类：【<a href="index.php?m=Index&c=Index&a=newsList&cid=<?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['catname']; ?>
</a>】</span><span>浏览（<a href="/"><?php echo $this->_tpl_vars['Content'][$this->_sections['cont']['index']]['click']; ?>
</a>）</span></p>
        <div class="dateview"><?php echo ((is_array($_tmp=$this->_tpl_vars['Content'][$this->_sections['cont']['index']]['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d') : smarty_modifier_date_format($_tmp, '%Y-%m-%d')); ?>
</div>
      </div>
      <?php endfor; endif; ?>
    </div>
  </article>
  <aside>
    <div class="avatar"><a><span>艾力的博客</span></a></div>
    <div class="topspaceinfo">
      <h1>执子之手，与子偕老</h1>
      <p>于千万人之中，我遇见了我所遇见的人....</p>
    </div>
    <div class="about_c">
      <p>网名：Uyweb	</p>
      <p>职业：PHP程序员 </p>
      <p>籍贯：新疆-库尔勒</p>
      <p>电话：13565009080</p>
      <p>邮箱：uighur_biz@126.com</p>
    </div>
    <div class="tj_news">
      <h2>
        <p class="tj_t1">最新文章</p>
      </h2>
      <ul>
      <?php unset($this->_sections['new']);
$this->_sections['new']['loop'] = is_array($_loop=$this->_tpl_vars['New']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['new']['name'] = 'new';
$this->_sections['new']['show'] = true;
$this->_sections['new']['max'] = $this->_sections['new']['loop'];
$this->_sections['new']['step'] = 1;
$this->_sections['new']['start'] = $this->_sections['new']['step'] > 0 ? 0 : $this->_sections['new']['loop']-1;
if ($this->_sections['new']['show']) {
    $this->_sections['new']['total'] = $this->_sections['new']['loop'];
    if ($this->_sections['new']['total'] == 0)
        $this->_sections['new']['show'] = false;
} else
    $this->_sections['new']['total'] = 0;
if ($this->_sections['new']['show']):

            for ($this->_sections['new']['index'] = $this->_sections['new']['start'], $this->_sections['new']['iteration'] = 1;
                 $this->_sections['new']['iteration'] <= $this->_sections['new']['total'];
                 $this->_sections['new']['index'] += $this->_sections['new']['step'], $this->_sections['new']['iteration']++):
$this->_sections['new']['rownum'] = $this->_sections['new']['iteration'];
$this->_sections['new']['index_prev'] = $this->_sections['new']['index'] - $this->_sections['new']['step'];
$this->_sections['new']['index_next'] = $this->_sections['new']['index'] + $this->_sections['new']['step'];
$this->_sections['new']['first']      = ($this->_sections['new']['iteration'] == 1);
$this->_sections['new']['last']       = ($this->_sections['new']['iteration'] == $this->_sections['new']['total']);
?>
        <li><a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['New'][$this->_sections['new']['index']]['bid']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['New'][$this->_sections['new']['index']]['title'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 55, '...') : smarty_modifier_truncate($_tmp, 55, '...')); ?>
</a></li>
      <?php endfor; endif; ?>
      </ul>
      <h2>
        <p class="tj_t2">推荐文章</p>
      </h2>
      <ul>
      <?php unset($this->_sections['news']);
$this->_sections['news']['loop'] = is_array($_loop=$this->_tpl_vars['Nows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['news']['name'] = 'news';
$this->_sections['news']['show'] = true;
$this->_sections['news']['max'] = $this->_sections['news']['loop'];
$this->_sections['news']['step'] = 1;
$this->_sections['news']['start'] = $this->_sections['news']['step'] > 0 ? 0 : $this->_sections['news']['loop']-1;
if ($this->_sections['news']['show']) {
    $this->_sections['news']['total'] = $this->_sections['news']['loop'];
    if ($this->_sections['news']['total'] == 0)
        $this->_sections['news']['show'] = false;
} else
    $this->_sections['news']['total'] = 0;
if ($this->_sections['news']['show']):

            for ($this->_sections['news']['index'] = $this->_sections['news']['start'], $this->_sections['news']['iteration'] = 1;
                 $this->_sections['news']['iteration'] <= $this->_sections['news']['total'];
                 $this->_sections['news']['index'] += $this->_sections['news']['step'], $this->_sections['news']['iteration']++):
$this->_sections['news']['rownum'] = $this->_sections['news']['iteration'];
$this->_sections['news']['index_prev'] = $this->_sections['news']['index'] - $this->_sections['news']['step'];
$this->_sections['news']['index_next'] = $this->_sections['news']['index'] + $this->_sections['news']['step'];
$this->_sections['news']['first']      = ($this->_sections['news']['iteration'] == 1);
$this->_sections['news']['last']       = ($this->_sections['news']['iteration'] == $this->_sections['news']['total']);
?>
        <li><a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['Nows'][$this->_sections['news']['index']]['bid']; ?>
"><?php echo $this->_tpl_vars['Nows'][$this->_sections['news']['index']]['title']; ?>
</a></li>
      <?php endfor; endif; ?>
      </ul>
    </div>
    <div class="links">
      <h2>
        <p>友情链接</p>
      </h2>
      <ul>
        <li><a>个人博客</a></li>
        <li><a href="http://houdunwang.com" target="_blank">后盾网</a></li>
        <li><a href="http://bbs.houdunwang.com" target="_blank">后盾网论坛</a></li>
        <li><a href="http://hdphp.com" target="_blank">后盾框架</a></li>
      </ul>
    </div>
    <div class="copyright">
      <ul>
        <p> Design by <a>Uyweb</a></p>
        </p>
      </ul>
    </div>
  </aside>
  <div class="clear"></div> 
</body>
</html>